var mongoose = require("mongoose");

var url = 'mongodb://root:root@localhost:27017/book?authSource=admin';
mongoose.connect(url);
 
module.exports = mongoose;